FROM java:8
VOLUME /tmp
ADD /target/flat-0.0.1-SNAPSHOT.jar /jars/app.jar
EXPOSE 8080
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/jars/app.jar"]